home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 72 6f 6f 6d 2e 75 |Path: ne|wsroom.u|
|00000010| 74 61 73 2e 65 64 75 2e | 61 75 21 75 73 65 6e 65 |tas.edu.|au!usene|
|00000020| 74 0a 46 72 6f 6d 3a 20 | 46 69 72 73 74 6e 61 6d |t.From: |Firstnam|
|00000030| 65 20 4c 61 73 74 6e 61 | 6d 65 20 3c 6d 5f 77 6f |e Lastna|me <m_wo|
|00000040| 6f 6b 65 79 40 62 72 75 | 6e 79 2e 69 74 73 2e 75 |okey@bru|ny.its.u|
|00000050| 74 61 73 2e 65 64 75 2e | 61 75 3e 0a 4e 65 77 73 |tas.edu.|au>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 2b 2b 0a 53 75 | 62 6a 65 63 74 3a 20 52 |g.c++.Su|bject: R|
|00000080| 65 3a 20 6e 65 77 20 77 | 69 74 68 20 6d 75 6c 74 |e: new w|ith mult|
|00000090| 69 64 69 6d 65 6e 73 69 | 6f 6e 61 6c 20 61 72 72 |idimensi|onal arr|
|000000a0| 61 79 73 0a 44 61 74 65 | 3a 20 54 75 65 2c 20 31 |ays.Date|: Tue, 1|
|000000b0| 36 20 41 70 72 20 31 39 | 39 36 20 31 35 3a 33 31 |6 Apr 19|96 15:31|
|000000c0| 3a 31 37 20 2b 30 30 30 | 30 0a 4f 72 67 61 6e 69 |:17 +000|0.Organi|
|000000d0| 7a 61 74 69 6f 6e 3a 20 | 55 6e 69 76 65 72 73 69 |zation: |Universi|
|000000e0| 74 79 20 6f 66 20 54 61 | 73 6d 61 6e 69 61 2c 20 |ty of Ta|smania, |
|000000f0| 41 75 73 74 72 61 6c 69 | 61 2e 0a 4d 65 73 73 61 |Australi|a..Messa|
|00000100| 67 65 2d 49 44 3a 20 3c | 33 31 37 33 42 44 34 35 |ge-ID: <|3173BD45|
|00000110| 2e 36 38 43 31 40 62 72 | 75 6e 79 2e 69 74 73 2e |.68C1@br|uny.its.|
|00000120| 75 74 61 73 2e 65 64 75 | 2e 61 75 3e 0a 52 65 66 |utas.edu|.au>.Ref|
|00000130| 65 72 65 6e 63 65 73 3a | 20 3c 33 31 36 39 42 39 |erences:| <3169B9|
|00000140| 43 33 2e 32 41 31 30 40 | 4d 49 54 2e 45 44 55 3e |C3.2A10@|MIT.EDU>|
|00000150| 20 3c 34 6b 6c 69 32 31 | 24 62 6c 63 40 73 61 6d | <4kli21|$blc@sam|
|00000160| 2e 69 6e 66 6f 72 61 6d | 70 2e 6e 65 74 3e 0a 52 |.inforam|p.net>.R|
|00000170| 65 70 6c 79 2d 54 6f 3a | 20 6d 5f 77 6f 6f 6b 65 |eply-To:| m_wooke|
|00000180| 79 40 62 72 75 6e 79 2e | 69 74 73 2e 75 74 61 73 |y@bruny.|its.utas|
|00000190| 2e 65 64 75 2e 61 75 0a | 4e 4e 54 50 2d 50 6f 73 |.edu.au.|NNTP-Pos|
|000001a0| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 6d 61 63 70 68 |ting-Hos|t: macph|
|000001b0| 65 65 2e 63 73 2e 75 74 | 61 73 2e 65 64 75 2e 61 |ee.cs.ut|as.edu.a|
|000001c0| 75 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |u.Mime-V|ersion: |
|000001d0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|000001e0| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|000001f0| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|00000200| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000210| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|00000220| 2d 4d 61 69 6c 65 72 3a | 20 4d 6f 7a 69 6c 6c 61 |-Mailer:| Mozilla|
|00000230| 20 32 2e 30 31 20 28 4d | 61 63 69 6e 74 6f 73 68 | 2.01 (M|acintosh|
|00000240| 3b 20 49 3b 20 36 38 4b | 29 0a 0a 74 68 65 20 65 |; I; 68K|)..the e|
|00000250| 61 73 69 65 73 74 20 77 | 61 79 20 74 6f 20 61 6c |asiest w|ay to al|
|00000260| 6c 6f 63 61 74 65 20 73 | 61 79 2c 20 61 20 32 20 |locate s|ay, a 2 |
|00000270| 44 20 61 72 72 61 79 20 | 69 73 20 74 6f 20 63 72 |D array |is to cr|
|00000280| 65 61 74 65 20 31 20 6c | 61 72 67 65 20 0a 61 72 |eate 1 l|arge .ar|
|00000290| 72 61 79 20 77 68 69 63 | 68 20 69 73 20 74 68 65 |ray whic|h is the|
|000002a0| 20 73 69 7a 65 20 6f 66 | 20 62 6f 74 68 2e 0a 65 | size of| both..e|
|000002b0| 67 0a 0a 69 6e 74 20 2a | 41 20 3d 20 4e 55 4c 4c |g..int *|A = NULL|
|000002c0| 3b 0a 0a 69 6e 74 20 6e | 53 69 7a 65 20 3d 20 6e |;..int n|Size = n|
|000002d0| 57 69 64 74 68 20 2a 20 | 6e 48 65 69 67 68 74 3b |Width * |nHeight;|
|000002e0| 0a 0a 69 66 28 21 28 41 | 3d 6e 65 77 5b 6e 53 69 |..if(!(A|=new[nSi|
|000002f0| 7a 65 5d 29 29 7b 0a 20 | 20 20 63 65 72 72 3c 3c |ze])){. | cerr<<|
|00000300| 22 6f 75 74 20 6f 66 20 | 6d 65 6d 6f 72 79 2e 2e |"out of |memory..|
|00000310| 2e 22 3b 0a 20 20 20 65 | 78 69 74 28 45 58 49 54 |.";. e|xit(EXIT|
|00000320| 5f 46 41 49 4c 55 52 45 | 29 3b 0a 7d 0a 0a 6e 6f |_FAILURE|);.}..no|
|00000330| 77 2c 20 74 6f 20 61 63 | 63 65 73 73 20 74 68 65 |w, to ac|cess the|
|00000340| 20 65 6c 65 6d 65 6e 74 | 20 41 5b 69 5d 5b 6a 5d | element| A[i][j]|
|00000350| 2c 20 79 6f 75 20 77 6f | 75 6c 64 20 75 73 65 20 |, you wo|uld use |
|00000360| 74 68 65 20 6e 6f 74 61 | 74 69 6f 6e 3a 0a 0a 69 |the nota|tion:..i|
|00000370| 6e 74 20 62 20 3d 20 41 | 5b 28 79 2a 6e 48 65 69 |nt b = A|[(y*nHei|
|00000380| 67 68 74 20 2b 20 6e 57 | 69 64 74 68 29 5d 3b 0a |ght + nW|idth)];.|
|00000390| 0a 61 6c 6c 20 77 65 20 | 61 72 65 20 72 65 61 6c |.all we |are real|
|000003a0| 6c 79 20 64 6f 69 6e 67 | 20 69 73 20 66 69 6e 64 |ly doing| is find|
|000003b0| 69 6e 67 20 74 68 65 20 | 6f 66 66 73 65 74 20 66 |ing the |offset f|
|000003c0| 72 6f 6d 20 74 65 68 20 | 62 65 67 69 6e 6e 69 6e |rom teh |beginnin|
|000003d0| 67 20 6f 66 20 0a 74 68 | 65 20 61 72 72 61 79 20 |g of .th|e array |
|000003e0| 61 6e 64 20 70 72 65 74 | 65 6e 64 69 6e 67 20 74 |and pret|ending t|
|000003f0| 68 61 74 20 69 74 20 69 | 73 20 61 20 74 77 6f 20 |hat it i|s a two |
|00000400| 44 20 61 72 72 61 79 2e | 0a 0a 0a 68 6f 70 65 20 |D array.|...hope |
|00000410| 74 68 69 73 20 68 65 6c | 70 73 2e 0a |this hel|ps.. |
+--------+-------------------------+-------------------------+--------+--------+